# def sum_2_num(a,b):
#     return a+b
#
#
# if __name__ =='__main__':
#     print('我是tools模块中的__name__',__name__)
#     print(sum_2_num(100,200))

# def input_password():
#     pwd = input("请输入密码：")
#     if len(pwd) < 8:
#         raise Exception('密码长度不足8位')
#     else:
#         return pwd
